package com.fjut.zr.judge_system.POJO.PO;

import java.util.Objects;

public class TOjOutPO {
    private int id;
    private String pid;
    private Integer outId;
    private String out;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getOutId() {
        return outId;
    }

    public void setOutId(Integer outId) {
        this.outId = outId;
    }

    public String getOut() {
        return out;
    }

    public void setOut(String out) {
        this.out = out;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TOjOutPO tOjOutPO = (TOjOutPO) o;
        return id == tOjOutPO.id &&
                Objects.equals(pid, tOjOutPO.pid) &&
                Objects.equals(outId, tOjOutPO.outId) &&
                Objects.equals(out, tOjOutPO.out);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, pid, outId, out);
    }
}
